package com.mars.module.admin.entity;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.mars.module.system.entity.BaseEntity;

/**
 * 厨师对象 ap_chef
 *
 * @author mars
 * @date 2024-03-06
 */

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "厨师对象")
@Builder
@Accessors(chain = true)
@TableName("ap_chef")
public class ApChef extends BaseEntity {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 姓名
     */
    @Excel(name = "姓名")
    @ApiModelProperty(value = "姓名")
    private String name;
    /**
     * 特长
     */
    @Excel(name = "特长")
    @ApiModelProperty(value = "特长")
    private String specialty;
    /**
     * 经验
     */
    @Excel(name = "经验")
    @ApiModelProperty(value = "经验")
    private Integer experience;
    /**
     * 评级
     */
    @Excel(name = "评级")
    @ApiModelProperty(value = "评级")
    private Integer rating;
    /**
     * 头像
     */
    @Excel(name = "头像")
    @ApiModelProperty(value = "头像")
    private String avatar;
    /**
     * 预约人数
     */
    @Excel(name = "预约人数")
    @ApiModelProperty(value = "预约人数")
    private Integer reservationCount;
    /**
     * 价格
     */
    @Excel(name = "价格")
    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    /**
     * 身份证
     */
    @Excel(name = "身份证")
    @ApiModelProperty(value = "身份证")
    private String idCard;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    @ApiModelProperty(value = "手机号")
    private String mobile;

    /**
     * 健康证
     */
    @Excel(name = "健康证")
    @ApiModelProperty(value = "健康证")
    private String healthCard;


    /**
     * 认证状态
     */
    @Excel(name = "认证状态")
    @ApiModelProperty(value = "认证状态")
    private Integer status;

    /**
     * 预约状态
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "预约状态")
    private boolean appointmentStatus = false;

}
